#include "startscreen.h"
#include "ui_startscreen.h"

StartScreen::StartScreen(QWidget *parent) :
    QWidget(parent),
    m_ui(new Ui::StartScreen)
{
    m_ui->setupUi(this);
}

StartScreen::~StartScreen()
{
    delete m_ui;
}

void StartScreen::on_newAccountButton_clicked()
{
	emit newAccountPressed();
}

void StartScreen::on_loadAccountButton_clicked()
{
	emit loadAccountPressed();
}

void StartScreen::changeEvent(QEvent *e)
{
	QWidget::changeEvent(e);
	switch (e->type()) {
	case QEvent::LanguageChange:
		m_ui->retranslateUi(this);
		break;
	default:
		break;
	}
}
